home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_200
/
273_01
/
upcase.cc
< prev
next >
Wrap
Text File
|
1987-09-26
|
222b
|
11 lines
#include <ctype.h>
upcase(char *str)
/* This will convert the string pointed to by *str to uppercase */
{
while (*str) {
if (islower(*str))
*str = toupper(*str);
str++; }
return(0);
}